package com.sali.design_pattern.c_factory_method_pattern.lesson_01.factory.impl;

import com.sali.design_pattern.c_factory_method_pattern.lesson_01.factory.IUserVIPFactory;
import com.sali.design_pattern.c_factory_method_pattern.lesson_01.service.IUserVipService;
import com.sali.design_pattern.c_factory_method_pattern.lesson_01.service.impl.YearVipUserVipService;

/**
 * @description:
 * @author: zhang hang
 * @date: 2023/11/18 15:35.
 * @version: 1.0
 */
public class YearUserServiceFactory implements IUserVIPFactory {
    @Override
    public IUserVipService createVip() {
        return new YearVipUserVipService();
    }
}
